package guoanmaker.operator.business.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import guoanmaker.operator.business.service.OperatorGroundPcServiceInterface;
import guoanmaker.operator.helper.common.AjaxJson;
import guoanmaker.operator.helper.common.abstractobj.ApiController;
import io.swagger.annotations.ApiOperation;
@RestController
@RequestMapping(ApiController.OPERATOR_GROUND_PC)
public class OperatorGroundPcController {
	@Autowired
	private OperatorGroundPcServiceInterface operatorGroundPcServiceInterface;
	@ApiOperation(value = "pc查询后台接口", notes = "pc查询后台接口")
	@RequestMapping(value = "/getAllGroundPc", method = RequestMethod.POST)
	public AjaxJson getAllGroundPc(String cityId){
		AjaxJson ajaxJson=new AjaxJson();
	    return ajaxJson.setSuccess(true).setStatus(200).setData(operatorGroundPcServiceInterface.selectgroundPc(cityId));
	}
}
